package com.ruoyi.system.domain.vo;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * @Author: Renatus
 * @Date: 2022/1/26 11:25
 */
public class CategoryAndParentNameVo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long categoryId;

    /** 类别名字 */
    @Excel(name = "类别名字")
    private String categoryName;

    /** 类别描述 */
    @Excel(name = "类别描述")
    private String categoryDescription;

    /** 类别的父类别 */
    @Excel(name = "类别的父类别")
    private Long categoryParentId;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer isDelete;

    /** 图标 */
    @Excel(name = "图标")
    private String icon;

    /** 父类别名字 */
    @Excel(name = "父类别名字")
    private String categoryParentName;


    public String getCategoryParentName() {
        return categoryParentName;
    }

    public void setCategoryParentName(String categoryParentName) {
        this.categoryParentName = categoryParentName;
    }

    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName()
    {
        return categoryName;
    }
    public void setCategoryDescription(String categoryDescription)
    {
        this.categoryDescription = categoryDescription;
    }

    public String getCategoryDescription()
    {
        return categoryDescription;
    }
    public void setCategoryParentId(Long categoryParentId)
    {
        this.categoryParentId = categoryParentId;
    }

    public Long getCategoryParentId()
    {
        return categoryParentId;
    }
    public void setIsDelete(Integer isDelete)
    {
        this.isDelete = isDelete;
    }

    public Integer getIsDelete()
    {
        return isDelete;
    }
    public void setIcon(String icon)
    {
        this.icon = icon;
    }

    public String getIcon()
    {
        return icon;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("categoryId", getCategoryId())
                .append("createTime", getCreateTime())
                .append("categoryName", getCategoryName())
                .append("categoryDescription", getCategoryDescription())
                .append("categoryParentId", getCategoryParentId())
                .append("isDelete", getIsDelete())
                .append("icon", getIcon())
                .append("categoryParentName",getCategoryParentName())
                .toString();
    }
}
